/* 全局样式修复 */

/* 修复输入框背景色问题 */
.el-input__inner,
.el-textarea__inner {
  background-color: transparent !important;
  
  &:focus {
    border-color: transparent !important;
    box-shadow: none !important;
  }
}

.el-input.is-focus .el-input__inner {
  border-color: transparent !important;
  box-shadow: none !important;
}

.el-input.is-active .el-input__inner {
  border-color: transparent !important;
  box-shadow: none !important;
}

.el-form-item.is-error .el-input__inner {
  border-color: var(--el-color-danger) !important;
}

/* 修复子菜单箭头在折叠状态下的显示问题 */
.el-menu--collapse {
  .el-sub-menu__icon-arrow {
    display: none;
  }
}

/* 修复标签视图的样式 */
.tags-view-container {
  .contextmenu {
    z-index: 9999 !important;
  }
}

/* 修复对话框居中问题 */
.el-overlay {
  .el-dialog {
    margin: 0 auto !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}
